// C05:5.1:forloop.cpp -- introducing the for loop
#include <iostream>

int main(void)
{
    using namespace std;
    int i;   // create a counter
    // initialize ; test; update
    for (i = 0; i < 5; i++)
    {
        cout << "C++ knows when to stop.\n";
    }
}